import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant'
import reques from './utils/request'
import '@/assets/commit.less'
import 'vant/lib/index.less'
import '@/assets/font_3477173_y4z7k8ac49h/iconfont'
// import axios from 'axios'
// //配置请求的根路径

// Vue.prototype.$http = axios;
//request.defaults.withCredentials = true;
// reques.interceptors.request.use((config) => {

//   config.headers.Authorization = Cookies.get('map');

//   return config;

// })
//Vue.prototype.$request = request

Vue.use(Vant);
Vue.prototype.reques = reques;
reques.defaults.withCredentials = true
Vue.config.productionTip = false


export default new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')